//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-02B
TN_Widget.CreateTable([['Carrie Underwood','The Theatre at Resorts World Las Vegas','Las Vegas, NV','Wednesday','5/22/2024','8:00 PM','5937386','Carrie-Underwood-5-22-2024'],['Carrie Underwood','The Theatre at Resorts World Las Vegas','Las Vegas, NV','Saturday','5/25/2024','8:00 PM','5937387','Carrie-Underwood-5-25-2024'],['Carrie Underwood','The Theatre at Resorts World Las Vegas','Las Vegas, NV','Sunday','5/26/2024','8:00 PM','5937388','Carrie-Underwood-5-26-2024'],['Carrie Underwood','The Theatre at Resorts World Las Vegas','Las Vegas, NV','Wednesday','5/29/2024','8:00 PM','5937389','Carrie-Underwood-5-29-2024'],['Carrie Underwood','The Theatre at Resorts World Las Vegas','Las Vegas, NV','Friday','5/31/2024','8:00 PM','5937390','Carrie-Underwood-5-31-2024'],['Carrie Underwood','The Theatre at Resorts World Las Vegas','Las Vegas, NV','Saturday','6/1/2024','8:00 PM','5937391','Carrie-Underwood-6-1-2024'],['Grand Ole Opry: Carrie Underwood','Grand Ole Opry House','Nashville, TN','Tuesday','6/4/2024','7:00 PM','6282099','Grand-Ole-Opry--Carrie-Underwood-6-4-2024'],['Grand Ole Opry: Carrie Underwood','Grand Ole Opry House','Nashville, TN','Tuesday','6/4/2024','9:30 PM','6307325','Grand-Ole-Opry--Carrie-Underwood-6-4-2024'],['Carolina Country Music Festival: Morgan Wallen, Carrie Underwood, Parker McCollum & Old Dominion - 4 Day Pass','Myrtle Beach','Myrtle Beach, SC','Thursday','6/6/2024','TBD','5868575','Carolina-Country-Music-Festival--Morgan-Wallen--Carrie-Underwood--Parker-McCollum---Old-Dominion---4-Day-Pass-6-6-2024'],['Carrie Underwood','Constellation Brands Performing Arts Center','Canandaigua, NY','Friday','6/21/2024','7:30 PM','6381351','Carrie-Underwood-6-21-2024'],['Windy City Smokeout: Thomas Rhett, Parker McCollum, Cody Johnson & Carrie Underwood - 4 Day Pass','Windy City Smokeout','Chicago, IL','Thursday','7/11/2024','TBD','5884783','Windy-City-Smokeout--Thomas-Rhett--Parker-McCollum--Cody-Johnson---Carrie-Underwood---4-Day-Pass-7-11-2024'],['Windy City Smokeout: Carrie Underwood, Nate Smith & Muscadine Bloodline - Sunday','Windy City Smokeout','Chicago, IL','Sunday','7/14/2024','1:00 PM','5884787','Windy-City-Smokeout--Carrie-Underwood--Nate-Smith---Muscadine-Bloodline---Sunday-7-14-2024'],['Carrie Underwood','Neal S. Blaisdell Center - Arena','Honolulu, HI','Friday','7/19/2024','8:00 PM','6317205','Carrie-Underwood-7-19-2024'],['Carrie Underwood','Neal S. Blaisdell Center - Arena','Honolulu, HI','Saturday','7/20/2024','8:00 PM','6326104','Carrie-Underwood-7-20-2024'],['Carrie Underwood','Tom Benson Hall of Fame Stadium','Canton, OH','Sunday','8/4/2024','8:00 PM','6234151','Carrie-Underwood-8-4-2024'],['Carrie Underwood','The Theatre at Resorts World Las Vegas','Las Vegas, NV','Wednesday','8/14/2024','8:00 PM','5937392','Carrie-Underwood-8-14-2024'],['Carrie Underwood','The Theatre at Resorts World Las Vegas','Las Vegas, NV','Friday','8/16/2024','8:00 PM','5937393','Carrie-Underwood-8-16-2024'],['Carrie Underwood','The Theatre at Resorts World Las Vegas','Las Vegas, NV','Saturday','8/17/2024','8:00 PM','5936665','Carrie-Underwood-8-17-2024'],['Carrie Underwood','The Theatre at Resorts World Las Vegas','Las Vegas, NV','Wednesday','8/21/2024','8:00 PM','5937394','Carrie-Underwood-8-21-2024'],['Carrie Underwood','The Theatre at Resorts World Las Vegas','Las Vegas, NV','Friday','8/23/2024','8:00 PM','5937395','Carrie-Underwood-8-23-2024'],['Carrie Underwood','The Theatre at Resorts World Las Vegas','Las Vegas, NV','Saturday','8/24/2024','8:00 PM','5936666','Carrie-Underwood-8-24-2024'],['Kickoff Jam: Carrie Underwood, Garth Brooks & Alabama - 3 Day Pass','Frank Brown Park','Panama City Beach, FL','Friday','8/30/2024','TBD','6387293','Kickoff-Jam--Carrie-Underwood--Garth-Brooks---Alabama---3-Day-Pass-8-30-2024'],['Carrie'd Away - Carrie Underwood Tribute','J.D. Legends','Franklin, OH','Friday','9/20/2024','7:00 PM','6393948','Carrie-d-Away---Carrie-Underwood-Tribute-9-20-2024'],['Carrie Underwood','The Theatre at Resorts World Las Vegas','Las Vegas, NV','Wednesday','10/16/2024','8:00 PM','6149915','Carrie-Underwood-10-16-2024'],['Carrie Underwood','The Theatre at Resorts World Las Vegas','Las Vegas, NV','Friday','10/18/2024','8:00 PM','6149916','Carrie-Underwood-10-18-2024'],['Carrie Underwood','The Theatre at Resorts World Las Vegas','Las Vegas, NV','Saturday','10/19/2024','8:00 PM','6149917','Carrie-Underwood-10-19-2024'],['Carrie Underwood','The Theatre at Resorts World Las Vegas','Las Vegas, NV','Wednesday','10/23/2024','8:00 PM','6149918','Carrie-Underwood-10-23-2024'],['Carrie Underwood','The Theatre at Resorts World Las Vegas','Las Vegas, NV','Friday','10/25/2024','8:00 PM','6149919','Carrie-Underwood-10-25-2024'],['Carrie Underwood','The Theatre at Resorts World Las Vegas','Las Vegas, NV','Saturday','10/26/2024','8:00 PM','6149920','Carrie-Underwood-10-26-2024']],'Carrie Underwood','http://www.ticketnetwork.com/ticket/Carrie-Underwood-events.aspx');